package com.example.blog.mapper;


import com.example.blog.entity.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author: lu
 * @Date: 2023-09-05-9:00
 * @Description:
 */
@Repository
public interface UserMapper {

    List<User> findAll();

    void  insert(User user);

    void update(User user);

    int delete(int id);

    List<User> login(User user);

    User login1(User user);


}
